import request from "@/utils/request";
// 学习课程情况

export function studyCourseSituation(query) {
  return request({
    url: "/screen/course/studyCourseSituation",
    method: "get",
    params: query,
  });
}
// 学习完成情况-全职兼职完成率

export function learningCompletionStatus(query) {
    return request({
      url: "/screen/course/learningCompletionStatus",
      method: "get",
      params: query,
    });
  }
  // 学习完成情况-各门店各课程学习完成率


export function eachCourseCompletionRate(query) {
    return request({
      url: "/screen/course/eachCourseCompletionRate",
      method: "get",
      params: query,
    });
  }
  // 学习时长情况-总学习时长

export function totalStudyDuration(query) {
    return request({
      url: "/screen/course/totalStudyDuration",
      method: "get",
      params: query,
    });
  }
    // 学习时长情况-学习时长排行

export function studyDurationList(query) {
    return request({
      url: "/screen/course/studyDurationList",
      method: "get",
      params: query,
    });
  }
    // 考核成绩情况-考核平均分

export function examAvgScore(query) {
    return request({
      url: "/screen/course/examAvgScore",
      method: "get",
      params: query,
    });
  }
    // 考核成绩情况-员工考核平均分排行榜

export function stuExamAvgScoreList(query) {
    return request({
      url: "/screen/course/stuExamAvgScoreList",
      method: "get",
      params: query,
    });
  }


export function fullAndPartTimeList(query) {
  return request({
    url: "/screen/course/fullAndPartTimeList",
    method: "get",
    params: query,
  });
}
    // 考核成绩情况-门店考核平均分排行榜

export function schoolExamAvgScoreList(query) {
    return request({
      url: "/screen/course/schoolExamAvgScoreList",
      method: "get",
      params: query,
    });
  }
    // 题库情况-题目数量

export function topicNum(query) {
    return request({
      url: "/screen/course/topicNum",
      method: "get",
      params: query,
    });
  }
    // 题库情况-题目错误率排行榜

export function topicErrorRateList(query) {
    return request({
      url: "/screen/course/topicErrorRateList",
      method: "get",
      params: query,
    });
  }
    // 课程评分情况-课程综合评分

export function totalCourseStar(query) {
    return request({
      url: "/screen/course/totalCourseStar",
      method: "get",
      params: query,
    });
  }
    // 课程评分情况-课程评分排行榜

export function courseStarList(query) {
    return request({
      url: "/screen/course/courseStarList",
      method: "get",
      params: query,
    });
  }
      // 未下发课程账号明细

export function noCourseUserList(query) {
    return request({
      url: "/screen/course/noCourseUserList",
      method: "get",
      params: query,
    });
  }
      // 未完成员工明细


export function unFinishUserList(query) {
    return request({
      url: "/screen/course/unFinishUserList",
      method: "get",
      params: query,
    });
  }
      // 学员课程评价明细

export function courseEvaluateList(query) {
    return request({
      url: "/screen/course/courseEvaluateList",
      method: "get",
      params: query,
    });
  }
    // 平台各课程明细

export function platformCourseList(query) {
    return request({
      url: "/screen/course/platformCourseList",
      method: "get",
      params: query,
    });
  }
  export function schoolList(query) {
    return request({
      url: "/screen/course/schoolList",
      method: "get",
      params: query,
    });
  }
  export function postList(query) {
    return request({
      url: "/screen/course/postList",
      method: "get",
      params: query,
    });
  }
 
  // 根据课程id获取训练员
  export function teacherList(data) {
    return request({
      url: "/screen/course/teacherList",
      method: "get",
      params: data,
    });
  }
  
  export function courseList(query) {
    return request({
      url: "/screen/course/courseList",
      method: "get",
      params: query,
    });
  }

     // 未完成员工明细导出


export function exportUnFinishUserList(data) {
    return request({
      url: "/screen/course/exportUnFinishUserList",
      method: "post",
      data: data,
    });
  }
     // 学员课程评价明细导出

export function exportCourseEvaluateList(data) {
    return request({
      url: "/screen/course/exportCourseEvaluateList",
      method: "post",
      data: data,
    });
  }
     // 平台各课程明细导出

export function exportPlatformCourseList(data) {
    return request({
      url: "/screen/course/exportPlatformCourseList",
      method: "post",
      data: data,
    });
  }
